import pygame
import modules.modulebase
import helpers

class Range(modules.modulebase.ModuleBase):
    """
    Module that gives increased firerate to a tower.
    """
    image_name = 'module2.png'
    description = 'Increases the towers range by 25%.'
    
    def __init__(self):
        self.image, self.rect = helpers.load_image(self.image_name,-1)
        
    def modify_tower(self, tower):
        tower.radius = tower.radius*2